<?php
// Russell RSS Template <version>
// Russell's original source code is (c) David Kendal
//---------------------------------------------------
// This work 'as-is' we provide.
// No warranty express or implied.
// We've done our best,
// to debug and test.
// Liability for damages denied.
//
// Permission is granted hereby,
// to copy, share, and modify.
// Use as is fit,
// free or for profit.
// These rights, on this notice, rely.
//---------------------------------------------------

$template = array('main' => <<<EOF
<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>&&&SITE-NAME;</title>
    &&&DESC-TAG;
    &&&LINK-TAG;
    <generator>Russell <version></generator>
    &&&PUBDATE-TAG;
    &&&EDITOR-TAG;
    &&&WEBMASTER-TAG;
    <ttl>&&&TOTAL;</ttl>
    &&&ITEMS;
  </channel>
</rss>
EOF,
  'link-tag' => '<link>&&&SITE-LINK;</link>',
  'desc-tag' => '<desc>&&&SITE-DESC;</desc>',
  'pubdate-tag' => '<pubDate>&&&PUB-DATE;</pubDate>',
  'editor-tag' => '<managingEditor>&&&EDITOR-MAIL;</managingEditor>',
  'webmaster-tag' => '<webMaster>&&&WEBMASTER-MAIL;</webMaster>'
  'item' => <<<EOF
      <item>
        <title>&&&ITEM-TITLE;</title>
        <link>&&&ITEM-LINK;</link>
        <description>&&&ITEM-DESC;</description>
        <pubDate>&&&ITEM-PUBDATE;</pubDate>
        <guid>&&&ITEM-ID;</guid>
      </item>
EOF
);
?>